home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5274 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Ceck out this bug. What the *** is SASC/6.56 doing?
  5. Date: 10 Mar 1996 10:46:36 +0100
  6. Organization: dis-
  7. Message-ID: <4hu8ds$f2t@serpens.rhein.de>
  8. References: <1120.6643T91T406@login.eunet.no>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. patrick.hanevold@login.eunet.no (Patrick Hanevold) writes:
  12.  
  13. >Can anyone explain this?
  14. >file, and start it from CLI. It only crashes from CLI.
  15.  
  16. It could crash from WB too. Depending on your default stack value
  17. in the icon you may crash from WB too.
  18.  
  19. >    ULONG   Palette[256*3+2];           // This one causes the bug.
  20.  
  21. That's about 3kB. I bet you didn't increase your default stack.
  22.  
  23. >    struct  Screen  *Scr=OpenScreenTags(NULL,
  24. >        SA_Width,           320,
  25. >        SA_Height,          256,
  26. >        SA_Depth,           8,
  27. >        TAG_END);
  28.  
  29. >    CloseScreen(Scr);
  30.  
  31. That's a real bug as Scr might be NULL.
  32.  
  33.  
  34. -- 
  35.                                 Michael van Elst
  36.  
  37. Internet: mlelstv@serpens.rhein.de
  38.                                 "A potential Snark may lurk in every tree."
  39.